From: Giuseppe Scrivano Date: Tue, 14 Apr 2015 07:56:13 +0000 (+0200) Subject: _ostree_repo_file_replace_contents: make buf const X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~800 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=69184e70e953c8d2084b73202bd0ba8d419e7480;p=ostree.git _ostree_repo_file_replace_contents: make buf const Signed-off-by: Giuseppe Scrivano --- diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h index ceed4711..adf5ec2b 100644 --- a/src/libostree/ostree-repo-private.h +++ b/src/libostree/ostree-repo-private.h @@ -130,7 +130,7 @@ gboolean _ostree_repo_file_replace_contents (OstreeRepo *self, int dfd, const char *path, - guint8 *buf, + const guint8 *buf, gsize len, GCancellable *cancellable, GError **error); diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index b27fcce8..5215e665 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -1509,7 +1509,7 @@ gboolean _ostree_repo_file_replace_contents (OstreeRepo *self, int dfd, const char *path, - guint8 *buf, + const guint8 *buf, gsize len, GCancellable *cancellable, GError **error)